var InputControl = Class.create(BaseControl, {
     observeEvent: function(){
        this.view.observe('change', this.onChange.bind(this));
    },

    onChange: function()
    {
        this.view.addClassName('changed');
    },

    setValue: function(v)
    {
        if (this.view.value != v)
        {
            this.view.value = v;
            this.view.fireEvt('change');
        }
        return this;
    },

    resetChanged: function()
    {
        this.view.removeClassName('changed');
    }
});